﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="TinMoiHon.ascx.vb" Inherits="NVPortal.Modules.NVNews.TinMoiHon" %>
<script type="text/javascript" src="/Jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/Jquery/jquery.jcarousel.js"></script>
<link rel="stylesheet" type="text/css" href="/Jquery/skins/tango/skin.css" />
        
<script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery('#mycarousel').jcarousel({
            visible: 8
        });
        jQuery('#mycarousel2').jcarousel({
            visible: 8
        });
    });
</script>
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="background: #fff">
    <tr><td style="vertical-align: top;" id="moihon" runat="server">
    <img src="/images/tinmoihon.jpg" alt="" /><br />
    <ul id="mycarousel" class="jcarousel-skin-tango">
    <asp:Repeater id="drgOtherNewsMoi" runat="server">
	    <ItemTemplate>
                <li>
                    <asp:HyperLink id="dfdsfdsf" runat="server" Tooltip='<%# DataBinder.Eval(Container.DataItem,"title")%>' NavigateUrl='<%# FormatURL("c",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'>
                    <asp:Image ID="imgNews" Width="100px" runat="server" ImageUrl ='<%# iif(DataBinder.Eval(Container, "DataItem.imagepath").tostring().Contains("http://"), DataBinder.Eval(Container, "DataItem.imagepath"), "/Portals/0/news/" & DataBinder.Eval(Container, "DataItem.imagepath")) %>' AlternateText="" /></asp:HyperLink><br />
			        <asp:HyperLink id="hplOtherNewsMoi" Font-Names="tahoma" Font-Size="11px" ForeColor="#252525" Font-Bold="false" runat="server" text='<%# DataBinder.Eval(Container.DataItem,"title")%>' NavigateUrl='<%# FormatURL("c",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'/>
			    </li>
            
        </ItemTemplate>
    </asp:Repeater></ul>
    </td></tr>
    <tr><td id="cuhon" runat="server">
    <img src="/images/tincuhon.jpg" alt="" />
    <ul id="mycarousel2" class="jcarousel-skin-tango">
    <asp:Repeater id="drgOtherNewsCu" runat="server">
	    <ItemTemplate>
            
                <li style="display: inline; float: left">
                    <asp:HyperLink id="dfdsfdsf" runat="server" Tooltip='<%# DataBinder.Eval(Container.DataItem,"title")%>' NavigateUrl='<%# FormatURL("c",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'>
                        <asp:Image ID="imgdNews" Width="100px" runat="server" ImageUrl ='<%# iif(DataBinder.Eval(Container, "DataItem.imagepath").tostring().Contains("http://"), DataBinder.Eval(Container, "DataItem.imagepath"), "/Portals/0/news/" & DataBinder.Eval(Container, "DataItem.imagepath")) %>' AlternateText="" /><br /></asp:HyperLink>
			        <asp:HyperLink id="hplOthderNewsMoi" Font-Names="tahoma" Font-Size="11px" ForeColor="#252525" Font-Bold="false" runat="server" text='<%# DataBinder.Eval(Container.DataItem,"title")%>' NavigateUrl='<%# FormatURL("c",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'/>
			    </li>
           
        </ItemTemplate>
    </asp:Repeater> </ul>
    </td></tr>
</table>
